/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    box-sizing: border-box;
}

/* Navbar and Navigation */
nav {
    background-color: #007bff;
    padding: 10px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

nav .header_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

nav .header_area #main_logo img {
    max-height: 50px;
    width: auto;
    margin-right: 20px;
}

nav .mainmenu ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .mainmenu ul li {
    margin-left: 15px;
}

nav .mainmenu ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav .mainmenu ul li a:hover,
nav .mainmenu ul li a:active {
    background-color: #0056b3;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.hamburger-menu span {
    background-color: #fff;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    nav .mainmenu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #007bff;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 0;
        z-index: 1000;
    }

    nav .mainmenu ul.active {
        display: flex;
    }

    nav .mainmenu ul li {
        margin: 0;
        padding: 15px;
        border-bottom: 1px solid #ddd;
        text-align: center;
    }
}

/* Top Bar */
#topbar {
    background-color: #f8f9fa;
    padding: 5px 20px;
    border-bottom: 1px solid #ddd;
}

#topbar .topbar-block.left,
#topbar .topbar-block.text-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.topbar-icon {
    color: #007bff !important;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.social-icon {
    background-color: #007bff;
    padding: 8px 11px;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero-section {
    color: #504c4c;
    padding: 30px 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    width: 100%;
    box-sizing: border-box;
}

.hero-text h1 {
    font-size: 36px;
    margin: 0;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 18px;
    margin: 10px 0 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Content Section */
.content-section {
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.offers-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    background-color: #f0f0f0;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.offer {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 30% !important; /* Forces three columns on desktop */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.offer img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
}

.offer-details {
    text-align: left;
    width: 100%;
}

/* CTA Button */
.cta-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

/* Advantages Section */
.advantages-section {
    background-color: #f0f8ff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.advantages-section h1.blue-header {
    color: blue;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.advantage {
    display: inline-block;
    text-align: center;
    background-color: #ffffff;
    border-left: 5px solid #1e90ff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 80%;
    box-sizing: border-box;
}

.advantage:hover {
    transform: scale(1.05);
}

.advantage h3 {
    font-size: 24px;
    color: #1e90ff;
    margin-bottom: 10px;
}

.advantage p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Pricing Section */
.pricing-section {
    background-color: #f0f0f0;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.pricing-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.pricing-option {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px) !important; /* Forces three columns on desktop */
    min-width: 280px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.pricing-option h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.pricing-option p {
    font-size: 18px;
    margin: 10px 0;
}

.cta-button {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 992px) {
    .offer {
        width: 48% !important; /* Forces two columns on medium screens */
    }
}

@media (max-width: 768px) {
    .hero-section,
    .offers-container,
    .content-section,
    .advantages-section,
    .pricing-section {
        width: 100vw !important; /* Forces full viewport width */
        max-width: 100vw !important; /* Ensures it doesn't shrink below the full width */
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }

    .offers-container {
        flex-direction: column; /* Stack offers vertically */
        align-items: center; /* Center items horizontally */
    }

    .offer {
        width: 100% !important; /* Ensure offers take full width on mobile */
        margin: 0 auto 20px; /* Center offers with margin auto */
        text-align: center; /* Center text in offers */
    }

    nav .header_area {
        flex-direction: column;
        width: 100%;
    }

    nav .mainmenu ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav .mainmenu ul li {
        margin: 10px 0;
    }

    nav .mainmenu ul li ul.sub-menu {
        position: static;
        margin-top: 0;
        border-radius: 0;
    }

    #topbar .topbar-block.left,
    #topbar .topbar-block.text-right {
        text-align: center;
        margin-bottom: 10px;
        flex-direction: column;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text {
        width: 100%;
        text-align: center;
    }

    .offer img,
    .fixed-logo {
        width: 80%;
        margin: 0 auto 15px;
    }

    .offer-details h2,
    .offer-details h1 {
        font-size: 24px;
        margin-bottom: 10px;
        text-align: center;
    }

    .offer-details p {
        font-size: 16px;
        line-height: 1.5;
    }

    .offer-details ul {
        padding-left: 20px;
        font-size: 16px;
        text-align: left;
    }

    .cta-button {
        width: 100%;
        padding: 15px;
        font-size: 18px;
    }

    .advantages-section h1.blue-header {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .advantage {
        padding: 15px;
        text-align: left;
    }

    .advantage h3 {
        font-size: 22px;
    }

    .advantage p {
        font-size: 15px;
    }

    .pricing-section h2 {
        font-size: 24px;
    }

    .pricing-option {
        width: 100% !important; /* Ensures single column on mobile */
        margin-bottom: 20px;
    }

    .pricing-option h3 {
        font-size: 20px;
    }

    .pricing-option p {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px;
        font-size: 16px;
    }
}

/* Footer Adjustments */
.footer-wrapper {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form form div {
    display: flex;
    align-items: center;
}

.footer-text {
    margin-bottom: 15px;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-icon a {
    margin-right: 15px;
}

@media (max-width: 768px) {
    .footer-wrapper {
        text-align: center;
    }

    .footer-menu,
    .footers {
        padding: 0;
    }

    .footer-icon a {
        margin-right: 10px;
        font-size: 1.5rem;
    }

    .row > div {
        margin-bottom: 20px;
    }

    .footer-bottom-area {
        text-align: center;
    }

    .footer-bottom-area .row > div {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .footer-wrapper {
        margin-bottom: 15px;
    }

    .footer-text,
    .footer-menu li,
    .footer-icon a {
        font-size: 1rem;
    }

    .newsletter-form form div {
        flex-direction: column;
    }

    .newsletter-form input {
        margin-bottom: 10px;
    }
}